﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ProductsUpdate.ascx.cs"
    Inherits="BONSAI.Admin.UC.ProductsUpdate" %>
<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<table cellpadding="0" cellspacing="0" width="100%" style="padding-top: 10px; padding-left: 8px;
    padding-right: 8px;">
    <tr>
        <td style="padding-left: 10px; padding-right: 20px;">
            <img alt="" src="Image2/lua.png" />
            <span style="font-weight: bold; font-size: 10pt;">CẬP NHẬT SẢN PHẨM</span><hr />
        </td>
    </tr>
    <tr>
        <td style="height: 15px;">
        </td>
    </tr>
    <tr>
        <td>
            <table cellpadding="0" cellspacing="0" width="100%">
                <tr>
                    <td>
                    Loại sp
                    <br />
                        <asp:DropDownList ID="dropLoaiTours"  runat="server"  Width="314px" 
                            >
                        </asp:DropDownList> &nbsp;&nbsp; <span style="color:Red;">*</span> 
                    </td>
                </tr>                            
                 <tr>
                    <td style="height: 10px;">
                    </td>
                </tr>
                <tr>
                    <td>
                        <fieldset>
                            <legend style="color: Blue">Tên Sản Phẩm</legend><span></span>
                            <br />
                            <asp:TextBox ID="txttensNgan" CssClass="textBoxA" Width="600px" runat="server"></asp:TextBox>&nbsp;&nbsp; <span style="color:Red;">*</span>
                            </fieldset>
                    </td>
                </tr>
                <tr>
                    <td style="height: 10px;">
                    </td>
                </tr>                
                
                <tr>
                    <td>
                        <fieldset>
                            <legend style="color: Blue">Chọn SP mới</legend><span>Củ</span>
                            <br />
                            <asp:CheckBox ID="chkchoosenew" runat="server" />
                            <br/>
                        </fieldset>
                    </td>
                </tr>
                <tr>
                    <td style="height: 10px;">
                    </td>
                </tr>                
                
                <tr>
                    <td>
                        <fieldset>
                            <legend style="color: Blue">Giá SP (VNĐ)</legend><span>Củ</span>
                            <br />
                            <asp:TextBox CssClass="textboxA" ID="txtGiaOld" runat="server" Width="200px"></asp:TextBox> &nbsp;&nbsp;&nbsp; <span style="color:Red;">*</span>
                            
                            <br />
                            <span>Mới</span>
                            <br />
                            <asp:TextBox CssClass="textboxA" ID="txtGiaNew" runat="server" Width="200px"></asp:TextBox> 
                            
                        </fieldset>
                    </td>
                </tr>
                <tr>
                    <td style="height: 10px;">
                    </td>
                </tr>
                <tr>
                    <td>
                        <fieldset>
                            <legend style="color: Blue">SP Code</legend>
                            <asp:TextBox ID="txtspcodes" CssClass="textBoxA" Width="400px" runat="server"></asp:TextBox>&nbsp;&nbsp; <span style="color:Red;">*</span> 
                        </fieldset>
                    </td>
                </tr>
            </table>
        </td>
    </tr>
    <tr>
        <td style="height: 20px">
        </td>
    </tr>
    <tr>
        <td>
            <fieldset>
                <legend style="color: Blue">Ảnh đại diện</legend>
                <table cellpadding="0" cellspacing="0" width="100%">
                    <tr>
                        <td colspan="2" style="height: 10px;">
                        </td>
                    </tr>
                    <tr>
                        <td align="center">
                            (310px x 210px)
                            <br />
                            <br />
                            <asp:Image Width="200" Height="150" BorderColor="#f89331" BorderStyle="Solid" BorderWidth="1px"
                                ImageUrl="~/Admin/Avatar/chuacohinhd.gif" ID="Image1" runat="server"  />
                            &nbsp;&nbsp;&nbsp;&nbsp;
                        </td>
                        <td>
                            <fieldset>
                                <i>Chọn một ảnh đại diện dạng : ".jpg", ".bmp", ".png", ".tjf", ".gif"</i><br />
                                <br />
                                &nbsp;<asp:FileUpload Width="300px" ID="FileUpload1" runat="server"  />
                            </fieldset>
                        </td>
                    </tr>
                </table>
            </fieldset>
        </td>
    </tr>
    <tr>
        <td style="height: 10px">
        </td>
    </tr>
    <tr>
        <td style="color: Blue">
            Nội dung chi tiết :
        </td>
    </tr>
    <tr>
        <td>
            <FCKeditorV2:FCKeditor EditorAreaCSS="abc" FontColors="#ffffff" Height="800px" ID="fckchitietTV"
                runat="server" BasePath="~/fckeditor/">
            </FCKeditorV2:FCKeditor>
        </td>
    </tr>
    
    <tr>
        <td>
            <asp:Button ID="btcapnhat" runat="server" Text="Cập nhật" OnClick="btcapnhat_Click" />
        </td>
    </tr>
</table>
